#pragma once


// CImgStatic

class CImgStatic  : public CStatic
{
	DECLARE_DYNAMIC(CImgStatic)

public:
	CImgStatic();
	virtual ~CImgStatic();

	void LoadResource();

protected:
	DECLARE_MESSAGE_MAP()

public:
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);

protected:
	BOOL	    m_IsSearching;
	HBITMAP m_SearchBitmap;
	HBITMAP m_SearchingBitmap;
	CRect		m_SearchToolRect;
	HWND		m_LastSelectedWnd;

public:
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
};


